package gof.com.yew.mediator;

public class MediatorDemo {
	
	public static void main(String[] args) {
		Mediator p = new President();
		Development d = new Development(p);
		Financial f = new Financial(p);
		d.selfAction();
		d.outAction("002");
		f.selfAction();
		f.outAction("001");
	}

}
